import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 引入element-ui
import './plugins/element.js'
// 引入大屏插件
import dataV from '@jiaminghi/data-view'
// 设置全局样式
import './assets/css/global.css'
// 引入axios
import axios from 'axios'
// 引入画图插件
import echarts from 'echarts'
// 按需引入vue-awesome图标
import Icon from 'vue-awesome/components/Icon';
import 'vue-awesome/icons/chart-bar.js';
import 'vue-awesome/icons/chart-area.js';
import 'vue-awesome/icons/chart-pie.js';
import 'vue-awesome/icons/chart-line.js';
import 'vue-awesome/icons/align-left.js';
// 配置请求的跟路径
axios.defaults.baseURL = "http://49.235.74.25:1888/graph/"

// 全局注册图标
Vue.component('icon', Icon);
Vue.config.productionTip = false
Vue.prototype.$echarts = echarts
require('echarts-wordcloud')
Vue.prototype.$http = axios
Vue.use(dataV)
Vue.prototype.theme = theme


new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')